﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Heng.Elements.Core.Model.Infrastructure.Messages
{
    /// <summary>
    /// Service message.
    /// </summary>
    [DataContract]
    public class ServiceResponseMessage
    {
        #region Properties

        /// <summary>
        /// Service message text.
        /// </summary>
        [DataMember(Name = "text")]
        public string Text { get; set; }

        /// <summary>
        /// Service message type.
        /// </summary>
        [DataMember(Name = "type")]
        public ServiceResponseMessageType Type { get; set; }

        /// <summary>
        /// Scope for current service message.
        /// </summary>
        [DataMember(Name = "scope")]
        public string Scope { get; set; }

        #endregion
    }
}
